package com.dw.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dw.model.article.dtos.mapping.AddArticleMappingDTO;
import com.dw.model.article.entitys.ArticleInfo;
import com.dw.model.article.entitys.ArticleMapping;
import com.dw.model.article.vos.article.QueryByIdVO;

import java.util.List;

/**
 * 文章标签分类关系表(ArticleMapping)表服务接口
 *
 * @author makejava
 * @since 2024-10-08 17:52:32
 */
public interface ArticleMappingService extends IService<ArticleMapping> {

    Boolean addMapping(AddArticleMappingDTO addArticleMappingDTO);

    QueryByIdVO queryById(Long articleId);

    List<Long> queryByCategoryId(Long categoryId);
}

